﻿/** 
 * Description:订单明细表
 * Date:2011-7-12
 * Author:Along	
*/
package com.community.shopping.domain;

public class OrderItem {
	 /**
	  * 订单明细ID
	  */
	  private Integer id;	  
	  /**
	   * 分店标识
	   */
	  private Integer shopId;	
	  /**
	   * 订单编号
	   */
	  private String orderNo;
	  /**
	   * 对应订单ID
	   */
	  private Integer orderId;
	  /**
	   * 对应商品ID
	   */
	  private Integer goodsId;

	/**
	   * 商品代码
	   */
	  private String goodsCode;
	  /**
	   * 商品名称
	   */
	  private String goodsName;
	  /**
	   * 商品数量
	   */
	  private Integer num=0;
	  /**
	   * 商品单价
	   */
	  private float price=0;
	  /**
	   * 商品总价
	   */
	  private float totalPrice=0;
	  /**
	   * 商品成本
	   */
	  private float costPrice=0;
	  /**
	   * 商品总成本
	   */
	  private float costTotalPrice=0;
	  /**
	 * @return the costPrice
	 */
	public float getCostPrice() {
		return costPrice;
	}
	/**
	 * @param costPrice the costPrice to set
	 */
	public void setCostPrice(float costPrice) {
		this.costPrice = costPrice;
	}
	/**
	 * @return the costTotalPrice
	 */
	public float getCostTotalPrice() {
		return costTotalPrice;
	}
	/**
	 * @param costTotalPrice the costTotalPrice to set
	 */
	public void setCostTotalPrice(float costTotalPrice) {
		this.costTotalPrice = costTotalPrice;
	}
	/**
	 * @return the totalPrice
	 */
	public float getTotalPrice() {
		return totalPrice;
	}
	/**
	 * @param totalPrice the totalPrice to set
	 */
	public void setTotalPrice(float totalPrice) {
		this.totalPrice = totalPrice;
	}
	/**
	 * @return the totalScore
	 */
	public Integer getTotalScore() {
		return totalScore;
	}
	/**
	 * @param totalScore the totalScore to set
	 */
	public void setTotalScore(Integer totalScore) {
		this.totalScore = totalScore;
	}
	/**
	   * 商品种类  0:普通商品 1:积分兑换
	   */
	  private Integer kind;
	
	/**
	   * 商品兑换对应积分
	   */
	  private Integer score=0;
	  /**
	   * 商品兑换对应积分
	   */
	  private Integer totalScore=0;
	/**
	 * @return the goodsName
	 */
	public String getGoodsName() {
		return goodsName;
	}
	/**
	 * @param goodsName the goodsName to set
	 */
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * @return the num
	 */
	public Integer getNum() {
		return num;
	}
	/**
	 * @param num the num to set
	 */
	public void setNum(Integer num) {
		this.num = num;
	}
	/**
	 * @return the orderNo
	 */
	public String getOrderNo() {
		return orderNo;
	}
	/**
	 * @param orderNo the orderNo to set
	 */
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	/**
	 * @return the orderId
	 */
	public Integer getOrderId() {
		return orderId;
	}
	/**
	 * @param orderId the orderId to set
	 */
	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}
	/**
	 * @return the price
	 */
	public float getPrice() {
		return price;
	}
	/**
	 * @param price the price to set
	 */
	public void setPrice(float price) {
		this.price = price;
	}
	/**
	 * @return the goodsCode
	 */
	public String getGoodsCode() {
		return goodsCode;
	}
	/**
	 * @param goodsCode the goodsCode to set
	 */
	public void setGoodsCode(String goodsCode) {
		this.goodsCode = goodsCode;
	}
	 /**
	 * @return the goodsId
	 */
	public Integer getGoodsId() {
		return goodsId;
	}
	/**
	 * @param goodsId the goodsId to set
	 */
	 
	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}
	  /**
	 * @return the kind
	 */
	public Integer getKind() {
		return kind;
	}
	/**
	 * @param kind the kind to set
	 */
	public void setKind(Integer kind) {
		this.kind = kind;
	}
	/**
	 * @return the score
	 */
	public Integer getScore() {
		return score;
	}
	/**
	 * @param score the score to set
	 */
	public void setScore(Integer score) {
		this.score = score;
	}
	/**
	 * @return the shopId
	 */
	public Integer getShopId() {
		return shopId;
	}
	/**
	 * @param shopId the shopId to set
	 */
	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}
	
}
